package cn.tedu.blackhorse.mapper;


import cn.tedu.blackhorse.pojo.entity.Teacher;
import cn.tedu.blackhorse.pojo.vo.AdminStandardVO;
import cn.tedu.blackhorse.pojo.vo.TeacherListItemVO;
import cn.tedu.blackhorse.pojo.vo.TeacherStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TeacherMapper {
    int insert(Teacher teacher);

    int deleteById(Long id);

    int deleteByIds(List<Long> ids);

    int updateById(Teacher teacher);

    int count();

    List<TeacherListItemVO> list();

    TeacherStandardVO getById(Long id);

    int countByJobId(Long jobId);
}
